package cn.rxls.admin.shop.mapper;

import cn.rxls.admin.shop.dto.PageShopDTO;
import cn.rxls.admin.shop.entity.Shop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 商品(Shop)表数据库访问层
 *
 * @author makejava
 * @since 2024-05-10 02:17:00
 */
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    //分页查询
    List<Shop> page(PageShopDTO dto);

    //统计所有数据
    Integer count(PageShopDTO dto);


}

